home *** CD-ROM | disk | FTP | other *** search
/ Super PC 19 / Super PC 19 (Curso OS-2 y shareware).iso / spc / windows / gplotw / source / docs / latextut / tutorial.tex / node3_ct.html < prev    next >
LaTeX Document  |  1993-05-24  |  2.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
100% dexvert Texinfo Document (document/texInfo) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file TeX document text default
98% file LaTeX document text default
97% file exported SGML document text default
96% file exported SGML document, ASCII text, with CRLF, LF line terminators default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: Plain text[LF] default
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 45 78 | 61 6d 70 6c 65 20 31 3a |ts of Ex|ample 1:|
|000000b0| 3c 2f 54 49 54 4c 45 3e | 0a 0a 3c 4d 45 54 41 20 |</TITLE>|..<META |
|000000c0| 48 54 54 50 2d 45 51 55 | 49 56 3d 22 43 6f 6e 74 |HTTP-EQU|IV="Cont|
|000000d0| 65 6e 74 2d 54 79 70 65 | 22 20 43 4f 4e 54 45 4e |ent-Type|" CONTEN|
|000000e0| 54 3d 22 74 65 78 74 2f | 68 74 6d 6c 3b 20 63 68 |T="text/|html; ch|
|000000f0| 61 72 73 65 74 3d 75 74 | 66 2d 38 22 3e 0a 3c 4d |arset=ut|f-8">.<M|
|00000100| 45 54 41 20 4e 41 4d 45 | 3d 22 76 69 65 77 70 6f |ETA NAME|="viewpo|
|00000110| 72 74 22 20 43 4f 4e 54 | 45 4e 54 3d 22 77 69 64 |rt" CONT|ENT="wid|
|00000120| 74 68 3d 64 65 76 69 63 | 65 2d 77 69 64 74 68 2c |th=devic|e-width,|
|00000130| 20 69 6e 69 74 69 61 6c | 2d 73 63 61 6c 65 3d 31 | initial|-scale=1|
|00000140| 2e 30 22 3e 0a 3c 4d 45 | 54 41 20 4e 41 4d 45 3d |.0">.<ME|TA NAME=|
|00000150| 22 47 65 6e 65 72 61 74 | 6f 72 22 20 43 4f 4e 54 |"Generat|or" CONT|
|00000160| 45 4e 54 3d 22 4c 61 54 | 65 58 32 48 54 4d 4c 20 |ENT="LaT|eX2HTML |
|00000170| 76 32 30 32 32 22 3e 0a | 0a 3c 4c 49 4e 4b 20 52 |v2022">.|.<LINK R|
|00000180| 45 4c 3d 22 53 54 59 4c | 45 53 48 45 45 54 22 20 |EL="STYL|ESHEET" |
|00000190| 48 52 45 46 3d 22 74 75 | 74 6f 72 69 61 6c 2e 63 |HREF="tu|torial.c|
|000001a0| 73 73 22 3e 0a 0a 3c 4c | 49 4e 4b 20 52 45 4c 3d |ss">..<L|INK REL=|
|000001b0| 22 6e 65 78 74 22 20 48 | 52 45 46 3d 22 6e 6f 64 |"next" H|REF="nod|
|000001c0| 65 34 5f 6d 6e 2e 68 74 | 6d 6c 22 3e 0a 3c 4c 49 |e4_mn.ht|ml">.<LI|
|000001d0| 4e 4b 20 52 45 4c 3d 22 | 70 72 65 76 69 6f 75 73 |NK REL="|previous|
|000001e0| 22 20 48 52 45 46 3d 22 | 6e 6f 64 65 32 5f 6d 6e |" HREF="|node2_mn|
|000001f0| 2e 68 74 6d 6c 22 3e 0a | 3c 4c 49 4e 4b 20 52 45 |.html">.|<LINK RE|
|00000200| 4c 3d 22 75 70 22 20 48 | 52 45 46 3d 22 6e 6f 64 |L="up" H|REF="nod|
|00000210| 65 32 5f 6d 6e 2e 68 74 | 6d 6c 22 3e 0a 3c 4c 49 |e2_mn.ht|ml">.<LI|
|00000220| 4e 4b 20 52 45 4c 3d 22 | 6e 65 78 74 22 20 48 52 |NK REL="|next" HR|
|00000230| 45 46 3d 22 6e 6f 64 65 | 34 5f 6d 6e 2e 68 74 6d |EF="node|4_mn.htm|
|00000240| 6c 22 3e 0a 3c 2f 48 45 | 41 44 3e 0a 20 0a 3c 42 |l">.</HE|AD>. .<B|
|00000250| 4f 44 59 20 62 67 63 6f | 6c 6f 72 3d 22 23 66 66 |ODY bgco|lor="#ff|
|00000260| 66 66 66 66 22 20 74 65 | 78 74 3d 22 23 30 30 30 |ffff" te|xt="#000|
|00000270| 30 30 30 22 20 6c 69 6e | 6b 3d 22 23 39 39 34 34 |000" lin|k="#9944|
|00000280| 45 45 22 20 76 6c 69 6e | 6b 3d 22 23 30 30 30 30 |EE" vlin|k="#0000|
|00000290| 66 66 22 20 61 6c 69 6e | 6b 3d 22 23 30 30 66 66 |ff" alin|k="#00ff|
|000002a0| 30 30 22 3e 0a 0a 3c 48 | 34 3e 3c 41 20 49 44 3d |00">..<H|4><A ID=|
|000002b0| 22 53 45 43 54 49 4f 4e | 30 30 30 32 30 30 31 30 |"SECTION|00020010|
|000002c0| 30 30 30 30 30 30 30 30 | 30 30 30 30 22 3e 0a 45 |00000000|0000">.E|
|000002d0| 78 61 6d 70 6c 65 20 31 | 3a 3c 2f 41 3e 0a 3c 2f |xample 1|:</A>.</|
|000002e0| 48 34 3e 20 48 65 72 65 | 20 69 73 20 61 20 66 69 |H4> Here| is a fi|
|000002f0| 72 73 74 20 65 78 61 6d | 70 6c 65 2c 20 70 72 6f |rst exam|ple, pro|
|00000300| 64 75 63 69 6e 67 20 61 | 20 70 6c 6f 74 20 66 6f |ducing a| plot fo|
|00000310| 72 0d 0a 74 68 69 73 20 | 64 6f 63 75 6d 65 6e 74 |r..this |document|
|00000320| 2e 20 54 68 65 20 47 4e | 55 50 4c 4f 54 20 69 6e |. The GN|UPLOT in|
|00000330| 70 75 74 20 66 69 6c 65 | 20 69 73 20 67 69 76 65 |put file| is give|
|00000340| 6e 20 62 65 6c 6f 77 2c | 20 61 6e 64 20 74 68 65 |n below,| and the|
|00000350| 20 6f 75 74 70 75 74 0d | 0a 61 70 70 65 61 72 73 | output.|.appears|
|00000360| 20 61 73 20 46 69 67 75 | 72 65 26 6e 62 73 70 3b | as Figu|re&nbsp;|
|00000370| 3c 41 20 48 52 45 46 3d | 22 6e 6f 64 65 33 5f 63 |<A HREF=|"node3_c|
|00000380| 74 2e 68 74 6d 6c 23 65 | 67 31 22 3e 3c 49 4d 47 |t.html#e|g1"><IMG|
|00000390| 20 20 41 4c 54 3d 22 5b | 2a 5d 22 20 53 52 43 3d | ALT="[|*]" SRC=|
|000003a0| 22 63 72 6f 73 73 72 65 | 66 2e 70 6e 67 22 3e 3c |"crossre|f.png"><|
|000003b0| 2f 41 3e 2e 20 54 68 65 | 20 69 6e 70 75 74 20 66 |/A>. The| input f|
|000003c0| 69 6c 65 20 64 65 66 69 | 6e 65 73 20 74 68 65 20 |ile defi|nes the |
|000003d0| 6f 75 74 70 75 74 20 74 | 6f 20 62 65 0d 0a 69 6e |output t|o be..in|
|000003e0| 20 4c 3c 53 55 50 3e 3c | 53 4d 41 4c 4c 3e 41 3c | L<SUP><|SMALL>A<|
|000003f0| 2f 53 4d 41 4c 4c 3e 3c | 2f 53 55 50 3e 54 3c 53 |/SMALL><|/SUP>T<S|
|00000400| 4d 41 4c 4c 3e 45 3c 2f | 53 4d 41 4c 4c 3e 58 2c |MALL>E</|SMALL>X,|
|00000410| 20 67 69 76 65 73 20 61 | 20 66 69 6c 65 20 6e 61 | gives a| file na|
|00000420| 6d 65 20 66 6f 72 20 74 | 68 65 20 6f 75 74 70 75 |me for t|he outpu|
|00000430| 74 2c 20 61 6e 64 20 70 | 6c 6f 74 73 20 3c 49 3e |t, and p|lots <I>|
|00000440| 79 3c 2f 49 3e 20 3d 20 | 3c 49 3e 73 69 6e 3c 2f |y</I> = |<I>sin</|
|00000450| 49 3e 28 3c 49 3e 78 3c | 2f 49 3e 29 20 66 6f 72 |I>(<I>x<|/I>) for|
|00000460| 0d 0a 3c 49 3e 78 3c 2f | 49 3e 20 6f 6e 20 3c 21 |..<I>x</|I> on <!|
|00000470| 2d 2d 20 4d 41 54 48 0a | 20 24 5b 2d 5c 70 69 2c |-- MATH.| $[-\pi,|
|00000480| 5c 70 69 5d 24 0a 20 2d | 2d 3e 0a 5b 2d 20 3c 49 |\pi]$. -|->.[- <I|
|00000490| 3e 26 23 39 36 30 3b 3c | 2f 49 3e 2c 20 3c 49 3e |>&#960;<|/I>, <I>|
|000004a0| 26 23 39 36 30 3b 3c 2f | 49 3e 5d 2e 20 54 6f 20 |&#960;</|I>]. To |
|000004b0| 70 72 6f 64 75 63 65 20 | 74 68 65 20 66 69 67 75 |produce |the figu|
|000004c0| 72 65 2c 20 49 20 73 69 | 6d 70 6c 79 0d 0a 3c 63 |re, I si|mply..<c|
|000004d0| 6f 64 65 3e 5c 69 6e 70 | 75 74 7b 65 67 31 7d 3c |ode>\inp|ut{eg1}<|
|000004e0| 2f 63 6f 64 65 3e 20 69 | 6e 20 61 20 3c 54 54 3e |/code> i|n a <TT>|
|000004f0| 63 65 6e 74 65 72 3c 2f | 54 54 3e 20 65 6e 76 69 |center</|TT> envi|
|00000500| 72 6f 6e 6d 65 6e 74 20 | 69 6e 20 61 20 3c 54 54 |ronment |in a <TT|
|00000510| 3e 66 69 67 75 72 65 3c | 2f 54 54 3e 0d 0a 65 6e |>figure<|/TT>..en|
|00000520| 76 69 72 6f 6e 6d 65 6e | 74 2e 20 49 6e 20 66 6f |vironmen|t. In fo|
|00000530| 6c 6c 6f 77 69 6e 67 20 | 65 78 61 6d 70 6c 65 73 |llowing |examples|
|00000540| 2c 20 49 20 77 69 6c 6c | 20 65 6e 63 6c 6f 73 65 |, I will| enclose|
|00000550| 20 74 68 65 20 66 69 67 | 75 72 65 20 69 6e 20 61 | the fig|ure in a|
|00000560| 20 62 6f 78 0d 0a 74 6f | 20 6d 61 6b 65 20 69 74 | box..to| make it|
|00000570| 20 6c 6f 6f 6b 20 61 20 | 6c 69 74 74 6c 65 20 62 | look a |little b|
|00000580| 65 74 74 65 72 2e 0a 0a | 3c 50 3e 0a 20 0d 0a 3c |etter...|<P>. ..<|
|00000590| 50 52 45 3e 0d 0a 20 20 | 20 20 73 65 74 20 74 65 |PRE>.. | set te|
|000005a0| 72 6d 69 6e 61 6c 20 6c | 61 74 65 78 0d 0a 20 20 |rminal l|atex.. |
|000005b0| 20 20 73 65 74 20 6f 75 | 74 70 75 74 20 22 65 67 | set ou|tput "eg|
|000005c0| 31 2e 74 65 78 22 0d 0a | 20 20 20 20 70 6c 6f 74 |1.tex"..| plot|
|000005d0| 20 5b 2d 33 2e 31 34 3a | 33 2e 31 34 5d 20 73 69 | [-3.14:|3.14] si|
|000005e0| 6e 28 78 29 0a 3c 2f 50 | 52 45 3e 0a 0a 3c 50 3e |n(x).</P|RE>..<P>|
|000005f0| 0a 0a 3c 44 49 56 20 63 | 6c 61 73 73 3d 22 43 45 |..<DIV c|lass="CE|
|00000600| 4e 54 45 52 22 3e 3c 41 | 20 49 44 3d 22 65 67 31 |NTER"><A| ID="eg1|
|00000610| 22 3e 3c 2f 41 3e 3c 41 | 20 49 44 3d 22 38 31 22 |"></A><A| ID="81"|
|00000620| 3e 3c 2f 41 3e 0a 3c 54 | 41 42 4c 45 3e 0a 3c 43 |></A>.<T|ABLE>.<C|
|00000630| 41 50 54 49 4f 4e 20 63 | 6c 61 73 73 3d 22 42 4f |APTION c|lass="BO|
|00000640| 54 54 4f 4d 22 3e 3c 53 | 54 52 4f 4e 47 3e 46 69 |TTOM"><S|TRONG>Fi|
|00000650| 67 75 72 65 3a 3c 2f 53 | 54 52 4f 4e 47 3e 0a 41 |gure:</S|TRONG>.A|
|00000660| 20 66 69 72 73 74 20 65 | 78 61 6d 70 6c 65 3a 20 | first e|xample: |
|00000670| 3c 49 3e 79 3c 2f 49 3e | 20 3d 20 3c 49 3e 73 69 |<I>y</I>| = <I>si|
|00000680| 6e 3c 2f 49 3e 28 3c 49 | 3e 78 3c 2f 49 3e 29 3c |n</I>(<I|>x</I>)<|
|00000690| 2f 43 41 50 54 49 4f 4e | 3e 0a 3c 54 52 3e 3c 54 |/CAPTION|>.<TR><T|
|000006a0| 44 3e 3c 49 4d 47 0a 20 | 53 54 59 4c 45 3d 22 22 |D><IMG. |STYLE=""|
|000006b0| 20 53 52 43 3d 22 69 6d | 67 31 2e 70 6e 67 22 0a | SRC="im|g1.png".|
|000006c0| 20 41 4c 54 3d 22 5c 62 | 65 67 69 6e 7b 66 69 67 | ALT="\b|egin{fig|
|000006d0| 75 72 65 7d 0a 5c 62 65 | 67 69 6e 7b 63 65 6e 74 |ure}.\be|gin{cent|
|000006e0| 65 72 7d 0a 25 0a 5c 69 | 6e 70 75 74 7b 65 67 31 |er}.%.\i|nput{eg1|
|000006f0| 7d 0a 5c 65 6e 64 7b 63 | 65 6e 74 65 72 7d 0a 5c |}.\end{c|enter}.\|
|00000700| 65 6e 64 7b 66 69 67 75 | 72 65 7d 22 3e 3c 2f 54 |end{figu|re}"></T|
|00000710| 44 3e 3c 2f 54 52 3e 0a | 3c 2f 54 41 42 4c 45 3e |D></TR>.|</TABLE>|
|00000720| 0a 3c 2f 44 49 56 3e 0a | 0a 3c 50 3e 0a 4e 6f 74 |.</DIV>.|.<P>.Not|
|00000730| 65 20 74 68 61 74 20 47 | 4e 55 50 4c 4f 54 20 68 |e that G|NUPLOT h|
|00000740| 61 73 20 64 72 61 77 6e | 20 69 6e 20 74 68 65 20 |as drawn| in the |
|00000750| 61 78 65 73 2c 20 6c 61 | 62 65 6c 65 64 20 74 68 |axes, la|beled th|
|00000760| 65 20 74 69 63 20 6d 61 | 72 6b 73 20 66 6f 72 20 |e tic ma|rks for |
|00000770| 75 73 2c 0d 0a 73 63 61 | 6c 65 64 20 74 68 65 20 |us,..sca|led the |
|00000780| 3c 49 3e 79 3c 2f 49 3e | 20 61 78 69 73 20 61 75 |<I>y</I>| axis au|
|00000790| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 2c 20 61 6e 64 |tomatica|lly, and|
|000007a0| 20 61 64 64 65 64 20 61 | 20 6b 65 79 20 69 6e 20 | added a| key in |
|000007b0| 74 68 65 0d 0a 75 70 70 | 65 72 2d 72 69 67 68 74 |the..upp|er-right|
|000007c0| 2d 68 61 6e 64 20 63 6f | 72 6e 65 72 20 28 74 68 |-hand co|rner (th|
|000007d0| 69 73 20 6d 61 79 20 62 | 65 20 6d 6f 76 65 64 20 |is may b|e moved |
|000007e0| 77 69 74 68 20 74 68 65 | 20 3c 54 54 3e 73 65 74 |with the| <TT>set|
|000007f0| 20 6b 65 79 3c 2f 54 54 | 3e 0d 0a 63 6f 6d 6d 61 | key</TT|>..comma|
|00000800| 6e 64 2c 20 61 6e 64 20 | 72 65 6d 6f 76 65 64 20 |nd, and |removed |
|00000810| 77 69 74 68 20 3c 54 54 | 3e 73 65 74 20 6e 6f 6b |with <TT|>set nok|
|00000820| 65 79 3c 2f 54 54 3e 29 | 2e 0a 0a 3c 50 3e 0a 54 |ey</TT>)|...<P>.T|
|00000830| 68 69 73 20 69 73 20 74 | 68 65 20 64 65 66 61 75 |his is t|he defau|
|00000840| 6c 74 20 6c 69 6e 65 20 | 73 74 79 6c 65 20 66 6f |lt line |style fo|
|00000850| 72 20 74 68 65 20 4c 3c | 53 55 50 3e 3c 53 4d 41 |r the L<|SUP><SMA|
|00000860| 4c 4c 3e 41 3c 2f 53 4d | 41 4c 4c 3e 3c 2f 53 55 |LL>A</SM|ALL></SU|
|00000870| 50 3e 54 3c 53 4d 41 4c | 4c 3e 45 3c 2f 53 4d 41 |P>T<SMAL|L>E</SMA|
|00000880| 4c 4c 3e 58 20 64 72 69 | 76 65 72 2e 20 20 42 65 |LL>X dri|ver. Be|
|00000890| 63 61 75 73 65 20 6f 66 | 20 74 68 65 0d 0a 6c 69 |cause of| the..li|
|000008a0| 6d 69 74 65 64 20 70 69 | 63 74 75 72 65 20 63 61 |mited pi|cture ca|
|000008b0| 70 61 62 69 6c 69 74 69 | 65 73 20 6f 66 20 4c 3c |pabiliti|es of L<|
|000008c0| 53 55 50 3e 3c 53 4d 41 | 4c 4c 3e 41 3c 2f 53 4d |SUP><SMA|LL>A</SM|
|000008d0| 41 4c 4c 3e 3c 2f 53 55 | 50 3e 54 3c 53 4d 41 4c |ALL></SU|P>T<SMAL|
|000008e0| 4c 3e 45 3c 2f 53 4d 41 | 4c 4c 3e 58 2c 20 6d 61 |L>E</SMA|LL>X, ma|
|000008f0| 6e 79 20 64 6f 74 73 20 | 61 72 65 20 72 65 71 75 |ny dots |are requ|
|00000900| 69 72 65 64 20 74 6f 0d | 0a 61 70 70 72 6f 78 69 |ired to.|.approxi|
|00000910| 6d 61 74 65 20 64 72 61 | 77 69 6e 67 20 61 20 73 |mate dra|wing a s|
|00000920| 6f 6c 69 64 20 6c 69 6e | 65 2e 20 54 68 69 73 20 |olid lin|e. This |
|00000930| 6d 61 79 20 6f 76 65 72 | 6c 6f 61 64 20 74 68 65 |may over|load the|
|00000940| 20 6d 65 6d 6f 72 79 20 | 6f 66 20 6d 61 6e 79 0d | memory |of many.|
|00000950| 0a 54 3c 53 4d 41 4c 4c | 3e 45 3c 2f 53 4d 41 4c |.T<SMALL|>E</SMAL|
|00000960| 4c 3e 58 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |L>X impl|ementati|
|00000970| 6f 6e 73 2e 20 54 68 65 | 72 65 20 61 72 65 20 6f |ons. The|re are o|
|00000980| 74 68 65 72 20 6c 69 6e | 65 20 74 79 70 65 73 20 |ther lin|e types |
|00000990| 61 76 61 69 6c 61 62 6c | 65 20 74 68 61 74 20 64 |availabl|e that d|
|000009a0| 72 61 77 0d 0a 64 6f 74 | 74 65 64 20 6c 69 6e 65 |raw..dot|ted line|
|000009b0| 73 20 61 6e 64 20 75 73 | 65 20 6d 75 63 68 20 6c |s and us|e much l|
|000009c0| 65 73 73 20 6d 65 6d 6f | 72 79 2e 20 54 68 65 20 |ess memo|ry. The |
|000009d0| 45 45 50 49 43 20 64 72 | 69 76 65 72 20 64 72 61 |EEPIC dr|iver dra|
|000009e0| 77 73 20 73 6f 6c 69 64 | 0d 0a 6c 69 6e 65 73 20 |ws solid|..lines |
|000009f0| 77 69 74 68 20 6d 75 63 | 68 20 6c 65 73 73 20 6d |with muc|h less m|
|00000a00| 65 6d 6f 72 79 20 75 73 | 61 67 65 2e 0a 0a 3c 50 |emory us|age...<P|
|00000a10| 3e 0a 0a 3c 48 52 3e 0a | 0a 3c 2f 42 4f 44 59 3e |>..<HR>.|.</BODY>|
|00000a20| 0a 3c 2f 48 54 4d 4c 3e | 0a |.</HTML>|. |
+--------+-------------------------+-------------------------+--------+--------+